import 'package:flutter/material.dart';

import 'Appcolor.dart';

class Log_card extends StatelessWidget {
  final String text;
  final String image;
  final Color color;
  const Log_card({
    super.key,
    required this.text,
    required this.image,
    required this.color,
  });

  @override
  Widget build(BuildContext context) {
    return Container(
      height: 50,
      padding: EdgeInsets.symmetric(vertical: 10, horizontal: 30),
      decoration: BoxDecoration(
        borderRadius: BorderRadius.circular(8),
        border: Border.all(color: color),
      ),
      child: Row(
        children: [
          Image.asset(image),
          SizedBox(
            width: 50,
          ),
          Text(
            text,
            style: TextStyle(color: textColor2, fontSize: 16),
          )
        ],
      ),
    );
  }
}
